package cn.mianxZY4;

public class SE extends Employee {
    private String hobby;
    private String level;

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public SE(String name, String address, String telphone, String email, String office,
              String hiredate, double salary, String hobby, String level) {
        super(name, address, telphone, email, office, hiredate, salary);
        this.hobby = hobby;
        this.level = level;

    }

    public void SEshow() {
        System.out.println("姓名：" + super.getName());
        System.out.println("地址：" + super.getAddress());
        System.out.println("电话：" + super.getTelphone());
        System.out.println("邮箱：" + super.getEmail());
        System.out.println("办公：" + super.getOffice());
        System.out.println("收购日期：" + super.getHiredate());
        System.out.println("工资：" + super.getSalary());
        System.out.println("爱好："+this.getHobby());
        System.out.println("等级："+this.getLevel());
    }
}